import { Entity, CreateDate, UpdateDate, PrimaryUuid, Unique } from '@sker/sdk'
/**
 * 系统会员
 */
@Entity({
    name: 'wx_member'
})
export class WxMember {

    @PrimaryUuid({
        type: 'uuid',
        comment: '会员编号',
        primaryKeyConstraintName: "PK_WX_MEMBER_ID"
    })
    id!: string;

    appid: string;
    openid!: string;
    unionid!: string;
    permissions!: any;

    card_zheng: string;

    card_fan: string;

    has_realname: boolean;
    nickname!: string;

    mobile!: string;

    email!: string;

    password!: string;

    salt!: string;
    avatar!: string;
    status!: boolean;

    online: boolean;

    gender!: string;

    country!: string;

    province!: string;

    city!: string;
    tags!: string[]

    remark!: string;

    code: string;

    realname: string;

    credit1!: number;

    credit2!: number;

    credit3!: number;

    credit4!: number;

    credit5!: number;

    credit6!: number;

    create_uid!: string;

    group_id!: string;

    create_date!: Date;

    update_date!: Date;
}